package com.blog4j.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blog4j.user.entity.UserIllegalRecordEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 98k灬
 * @version v1.0.0
 * @Description : 功能描述
 * @Create on : 2024/9/9 13:29
 **/
@Mapper
public interface UserIllegalRecordMapper extends BaseMapper<UserIllegalRecordEntity> {
    /**
     * 获取不合法的用户ID
     *
     * @param userIllegalActionMaxTimes 用户不合法记录最大次数
     * @return 不合法的用户ID
     */
    List<String> getIllegalUser(@Param("userIllegalActionMaxTimes") Integer userIllegalActionMaxTimes);
}
